<?php 
include 'layout/header.php'; 
include 'session/function.php'; 

if (isset($_GET['pages'])) {
	getPage('simple/pages', $_GET['pages'], 'home');
}else {
	getPage('simple/pages', 'home', 'default');
}

include 'layout/footer.php'; 

?>